<select name="stock_id" class="select"  style="display: block;">
    <foreach name="stock" item="v" key="k">
        <option value="{$v.id}">{$v.goods_name}</option>
    </foreach>
</select>
  

